package com.hooper.mapper;

import com.hooper.model.system.SysRole;
import com.hooper.model.vo.RoleInsertVo;
import com.hooper.model.vo.SysRoleQueryVo;

import java.util.List;

public interface SysRoleMapper {
    int deleteById(Long id);

    int insert(SysRole row);

    SysRole selectById(Long id);

    List<SysRole> selectAll();


    List<SysRole> selectAllByVo(SysRoleQueryVo queryVo);

    int updateById(SysRole row);

    int deleteBatchByIds(List<Long> ids);

    void saveBatch(List<RoleInsertVo> list);

    List<String> selectBatchNameByIds(List<Long> ids);
}